package com.hyt.it.ogt.ks.model.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 刘恒活
 * @since 2021/7/22 11:24
 */
@Data
@TableName("ks_wx_account")
public class WxAccount {
    private String wxOpenId;
    private String sessionKey;
    private String jsCode;
    private String unionId;
    private Long errCode;
    private String errMsg;
    private Integer expiresIn;
    @ApiModelProperty(value = "创建时间", hidden = true)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private LocalDateTime createDate;
}
